#ifndef BTN_H
#define BTN_H

#include "inp.h"

class btn : public inp
{
  public:
  btn(int ch);
  virtual void scan();
  virtual int  state() const;
  
  private:
  int _channel;
  int _state;
  int _debounce;
  
  static const int cDebounce;  
};

#endif